package net.guoyixian.admin.mapper;

import java.util.List;


import net.guoyixian.admin.pojo.Permissions;

public interface PermissionsMapper {

	public List<Permissions> queryTreegrid(Integer id);

	public Permissions queryById(Integer id);

	public List<Permissions> queryByPid(Integer pid);

	public List<Permissions> queryTreegridNull();

	public Integer countChildren(Integer pid);

	public void save(Permissions permissions);

	public void delete(Integer id);

	public void update(Permissions permissions);

}
